import numpy as np
import pandas as pd

def read(file_path = '附件5：P1-P2的行驶路径.xlsx'):
    df = pd.read_excel(file_path)
    array = df[[ '栅格x坐标','栅格y坐标']].values.tolist()
    return array
if __name__=='__main__':
    output_file = 'path_L1_L2.npy'
    np.save(output_file, read())